<#if (actionErrors?? && actionErrors?size > 0)>
	<ul>
		<#list actionErrors as error>
			<#if error?if_exists != "">
	            <li><span><font color="red">${error!?html}</font></span><#rt/></li><#rt/>
	        </#if>
		</#list>
	</ul>
<#elseif (actionMessages?? && actionMessages?size > 0)>
	<ul>
		<#list actionMessages as message>
            <#if message?if_exists != "">
                <li><span>${message!?html}</span></li>
                <script type="text/javascript">
					top.frames['menu'].refreshMenu();
				</script>
            </#if>
		</#list>
	</ul>
	<#if perform = 'save'>
		<script type="text/javascript">
			$.cookie("menu-tab", "menu1", {path: '${base}'});
			top.frames['menu'].refreshMenu();
			window.location.href= "${base}/secure/project/edit,${entity.id}";
		</script>
	</#if>
</#if>
